tools/build: Remove bpf() run-time check at build time
authorBen Hutchings <ben@decadent.org.uk>
Sun, 21 Feb 2016 15:33:15 +0000 (15:33 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Wed, 15 Feb 2023 05:56:21 +0000 (05:56 +0000)
commit2574d0081a5245d193e8341e6cbbe9db744c2c47
tree890c9bac0994608651f5fd20e2ad0a436476ec3b
parentae1130b97a3e6ed4d44950f8e896410dc7824bf4
tools/build: Remove bpf() run-time check at build time

Forwarded: no

It is not correct to test that a syscall works on the build system's
kernel.  We might be building on an earlier kernel version or with
security restrictions that block bpf().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-build-remove-bpf-run-time-check-at-build-time.patch
tools/build/feature/test-bpf.c